<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>



<div class="control-group">
    <label class="control-label" for="tiles_user_email">Email</label>
    <div class="controls">
        <s:textfield name="user.email" />
    </div>
  </div>
    <div class="control-group">
      <label class="control-label" for="tiles_user_password">Password</label>
      <div class="controls">
          <s:password name="user.password" />
      </div>
    </div>
    <div class="control-group">
      <label class="control-label" for="tiles_user_title">Title</label>
      <div class="controls">  
          <s:select 
            name="user.title"
            list="{'Mr','Ms'}"            
            />
      </div>
    </div>
      
    <div class="control-group">
      <label class="control-label" for="tiles_user_firstName">First Name</label>
      <div class="controls">
          <s:textfield name="user.firstName" />
      </div>
    </div>    
    <div class="control-group">
      <label class="control-label" for="tiles_user_lastName">Last Name</label>
      <div class="controls">
          <s:textfield name="user.lastName" />
      </div>
    </div>    
    <div class="control-group">
      <label class="control-label" for="tiles_user_phone">Phone</label>
      <div class="controls">
          <s:textfield name="user.handPhone" />
      </div>
    </div>  
    
    <div class="control-group">
      <label class="control-label" for="tiles_user_address">Address</label>
      <div class="controls">
          <s:textfield name="user.address" />
      </div>
    </div>    
    <div class="control-group">
      <label class="control-label" for="tiles_user_introduction">Introduction</label>
      <div class="controls">
          <s:textarea name="user.introduction" />
      </div>
    </div> 
    <div class="control-group">
      <label class="control-label" for="tiles_user_avatar">Upload Avatar</label>
      <div class="controls">
          <s:file name="user.avatar" />
      </div>
    </div>   
 
   
          <s:submit cssClass="btn" value="Save User" />  